#include <modules\modules.hpp>

#ifndef execNow
#define execNow call compile preprocessfilelinenumbers
#endif

#ifdef RMM_CAS
"Close Air Support" call mso_core_fnc_initStat;
execNow "tmf\support\modules\rmm_cas\main.sqf";
#endif

#ifdef RMM_CASEVAC
"CASEVAC" call mso_core_fnc_initStat;
execNow "tmf\support\modules\rmm_casevac\main.sqf";
#endif

#ifdef RMM_JIPMARKERS
"JIP Markers" call mso_core_fnc_initStat;
execNow "tmf\support\modules\rmm_jipmarkers\main.sqf";
#endif

#ifdef RMM_TASKS
"JIP Tasks" call mso_core_fnc_initStat;
execNow "tmf\support\modules\rmm_tasks\main.sqf";	
#endif

#ifdef CREWINFO
if(isNil "EnableCrewinfo") then {enablecrewinfo = 1;};
if (enablecrewinfo == 1) then {
	"Crew Info" call mso_core_fnc_initStat;
	fnc_crewInfo = compile preprocessfilelinenumbers "tmf\support\modules\crewinfo\main.sqf";
	crewStatus = [] spawn fnc_crewInfo;
};
#endif

#ifdef PXS_SATCOM_OA
"PXS SATCOMs" call mso_core_fnc_initStat;
["ON"] execVM "tmf\support\modules\pxs_satcom_oa\init_satellite.sqf";
#endif

#ifdef TONIC_VAS
"Tonic Virtual Ammobox System" call mso_core_fnc_initStat;
execNow "tmf\support\modules\tonic_vas\main.sqf";
#endif

#ifdef JUMP
"Jump" call mso_core_fnc_initStat;
execNow "tmf\support\modules\jump\main.sqf";
#endif

#ifdef TYR_DRONES
"Tyrghen Drones" call mso_core_fnc_initStat;
execNow "tmf\support\modules\tyr_drones\main.sqf";
#endif

#ifdef HELMETCAM
"Helmet Camera" call mso_core_fnc_initStat;
execNow "tmf\support\modules\hcam\inithcam.sqf";
#endif